package com.youlai.boot.gym.model.entity;

import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.youlai.boot.common.base.BaseEntity;

/**
 * 器材实体对象
 *
 * @author hxc
 * @since 2025-06-01 10:04
 */
@Getter
@Setter
@TableName("equipments")
public class Equipments  {

    private static final long serialVersionUID = 1L;

    private Integer equipmentId;
    /**
     * 器材名称
     */
    private String equipmentName;
    /**
     * 器材类别
     */
    private String category;
    /**
     * 购买日期
     */
    private LocalDate purchaseDate;
    /**
     * 保修到期日
     */
    private LocalDate warrantyExpire;
    /**
     * 器材状态(1-正常 2-维修中  3-报废)
     */
    private Integer equipmentStatus;
    /**
     * 存放位置
     */
    private String location;
    /**
     * 备注信息
     */
    private String notes;
    /**
     * 创建时间
     */
    private LocalDateTime createdAt;
    /**
     * 修改时间
     */
    private LocalDateTime updatedAt;
    /**
     * 逻辑删除
     */
    private Integer isDeleted;
}
